var Koa = require('koa');
var app = new Koa();
app.use(ctx => {
  ctx.body = 'hellokoa!'
});

/**
 * app.listen是对http.creatServer的简单封装
 */
app.listen(3001);
